const http = require("http");
const pageRouter = require("./routers/pageRouters");

const server = http.createServer((req,res) => {
    console.log("服务器启动了");
    console.log('app path--->', req.url);
    //接到请求--->router--->controller
    pageRouter.pageRouter(req, res);
});
server.listen(9000);